package org.fixed.dubboconsumer.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * 〈一句话功能简述>
 * ${DESCRIPTION}
 * Author:xuzhongwei
 * Date:2019/1/3
 */

public class MethodDTO {
    /**
     * 方法名
     */
    private String methodName;
    /**
     * 参数列表
     */
    private List<ParamDTO> paramList = new ArrayList<>();

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public List<ParamDTO> getParamList() {
        return paramList;
    }

    public void setParamList(List<ParamDTO> paramList) {
        this.paramList = paramList;
    }

    public void addParamList(ParamDTO paramDTO){
        paramList.add(paramDTO);
    }
}
